package com.woniu.service;

import com.woniu.dto.RegisterDto;
import com.woniu.entity.User;

import java.util.List;

/**
 * @author 杨光 微信号:tolryg
 * @time 15:52
 */
public interface UserService {
    List<User> findAll();


    User findByUserAccountAndPassword(String userAccount, String password);

    void register(RegisterDto registerDto);

}
